* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.center {
  width: 1000px;
  margin: 0 auto;
}

.body {
  background-color: #f4f4f4;
}

.main .center {
  display: flex;
  justify-content: center;
}

/* 左侧订票区 */
.main .left {
  margin-top: 20px;
  border-top: 2px solid #008aff;
  padding: 20px;
  color: #555;
  flex: 3;
  background-color: #fff;
}

.main .left .f1 {
  border-bottom: 1px solid #aaa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main .left .f1 p {
  padding: 10px;
  font-size: 20px;
}
/* 日期选择区 */
.main .left .f2 {
  display: flex;
  align-items: center;
}

.main .left .f2 .date ul {
  display: flex;
  margin-left: 10px;
}

.main .left .f2 .date ul li {
  border: 1px solid #bbb;
  padding: 10px;
  margin: 10px 10px 5px;
  cursor: pointer;
  user-select: none;
}
/* 日期点击选择以后的样式 */
.main .left .f2 .date ul li.active{
  border-color: #008aff;
}
.main .left .f2 .date ul li h4 {
  color: #ff6600;
  text-align: center;
}

.main .left .f2 .date > div {
  display: flex;
  color: #008aff;
  font-size: 12px;
  justify-content: space-around;
}
/* 购买张数选择区 */
.main .left .f3 {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.main .left .f3 div:nth-child(1) {
  margin-right: 20px;
}

.main .left .f3 button {
  padding: 0;
  width: 28px;
  height: 30px;
  background-color: #fff;
  border: 1px solid #aaa;
}

.main .left .f3 input {
  width: 50px;
  height: 26px;
  outline: none;
  padding: 0 10px;
}

.main .left .f3 div:nth-child(3) {
  font-size: 14px;
  margin-left: 20px;
}

/* 用户信息区 */
.main .user .user_f1 {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #aaa;
  margin: 20px 0;
}

.main .user .user_f1 div:nth-child(1) {
  font-size: 20px;
}

.main .user .user_f1 div:nth-child(2) {
  margin: 0 20px;
  font-size: 14px;
  color: #aaa;
}

.main .user .user_f1 div:nth-child(3) {
  font-size: 14px;
}

.main .user .user_f1 div:nth-child(3) a {
  color: #008aff;
}

.main .user .user_msg {
  border-bottom: 1px solid #aaa;
}

.main .user .user_msg .form-group {
  display: flex;
  /* justify-content: space-between; */
  /* width: 250px; */
  padding: 10px;
}

.main .user .user_msg .form-group input {
  outline: none;
  padding: 5px;
}

.main .user .user_msg > input {
  margin: 0 0 30px 30px;
}
/* 提交区 */
.main .left .submit {
  margin: 50px;
}
.main .left .submit a {
  color: #555;
  font-size: 14px;
}
.main .left .submit button {
  background-color: #fe8101;
  display: block;
  width: 140px;
  height: 40px;
  border: 0;
  font-size: 20px;
  color: #fff;
  border-radius: 3px;
  margin: 50px auto;
}
/* 右侧注意事项区 购票须知 */
.main .right {
  flex: 1;
  background-color: #fff;
  margin: 20px;
  padding: 20px;
}
.main .right .title {
  color: #008aff;
  font-size: 20px;
}
.main .right .refund,
.main .right .msg {
  color: #555;
  padding: 20px;
}
.main .right h4 {
  margin-bottom: 10px;
}
.main .right p {
  line-height: 1.5em;
  font-size: 14px;
}
.main .right button {
  display: block;
  margin: 20px auto;
  border: 1px solid #aaa;
  background-color: #fff;
  padding: 10px 30px;
  border-radius: 3px;
}
.main .right button a {
  color: #555;
}
.main .right .total {
  margin-top: 50px;
  border-top: 1px solid #aaa;
  text-align: center;
  padding: 20px;
  color: #555;
}
.main .right .total span:nth-child(2) {
  color: #ff6600;
}
/* 购买详情的遮罩层区 */
#mask {
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
}
#mask .detail {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
}
